package com.hema.auction.fragment;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;

/**
 * 描述:
 * 作者:john
 */
public class DealInfo {


    /**
     * order_id : 2573
     * user_name : 灵犀*一指
     * face_pic : http://app.sdjpai.cn/uploads/face_pic/2111916248273.jpg
     * price : 45
     * final_time : 1502876345
     * final_price : 9.8
     */

    @SerializedName("order_id")
    private String orderId;
    @SerializedName("user_name")
    private String userName;
    @SerializedName("face_pic")
    private String facePic;
    @SerializedName("price")
    private String price;
    @SerializedName("final_time")
    private String finalTime;
    @SerializedName("final_price")
    private String finalPrice;

    public static DealInfo objectFromData(String str) {

        return new Gson().fromJson(str, DealInfo.class);
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getFacePic() {
        return facePic;
    }

    public void setFacePic(String facePic) {
        this.facePic = facePic;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getFinalTime() {
        return finalTime;
    }

    public void setFinalTime(String finalTime) {
        this.finalTime = finalTime;
    }

    public String getFinalPrice() {
        return finalPrice;
    }

    public void setFinalPrice(String finalPrice) {
        this.finalPrice = finalPrice;
    }
}
